<!DOCTYPE html>
<html>
	<head>
		<title>Sudoku solver</title>
		<!-- link agli script js -->
		<script type="text/javascript" src="scriptInsert.js"></script>
		<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
	</head>
	<body>
		<h2>Progetto di Sistemi con vincoli</h2>
		<h1>Sudoku Solver</h1>
		<form onsubmit="return sendData();">
			<table>
				<tr>
					<td><input type="text" id="i1" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i2" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i3" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i4" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i5" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i6" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i7" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i8" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i9" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr>
					<td><input type="text" id="i10" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i11" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i12" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i13" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i14" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i15" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i16" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i17" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i18" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr class="bmB">
					<td><input type="text" id="i19" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i20" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i21" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i22" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i23" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i24" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i25" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i26" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i27" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr>
					<td><input type="text" id="i28" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i29" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i30" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i31" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i32" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i33" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i34" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i35" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i36" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr>
					<td><input type="text" id="i37" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i38" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i39" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i40" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i41" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i42" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i43" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i44" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i45" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr class="bmB">
					<td><input type="text" id="i46" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i47" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i48" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i49" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i50" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i51" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i52" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i53" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i54" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr>
					<td><input type="text" id="i55" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i56" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i57" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i58" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i59" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i60" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i61" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i62" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i63" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr>
					<td><input type="text" id="i64" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i65" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i66" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i67" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i68" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i69" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i70" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i71" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i72" pattern="[1-9 ]{1}"/></td>
				</tr>
				<tr>
					<td><input type="text" id="i73" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i74" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i75" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i76" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i77" pattern="[1-9 ]{1}"/></td>
					<td class="dxB"><input type="text" id="i78" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i79" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i80" pattern="[1-9 ]{1}"/></td>
					<td><input type="text" id="i81" pattern="[1-9 ]{1}"/></td>
				</tr>
			</table>
			<div  id="risolvi">
				<input type="submit" value="RISOLVI" />
			</div>
		</form>

		<!--tabella 9x9 con box di testo
		in ogni box c'e' un controllo js sull'inserimento
		In basso un bottone per risolvere ("RISOLVI")
		Si apre una nuova pagina con un sudoku per ogni risolutori.-->
	</body>
</html>
